echo "wait for device ..."
adb wait-for-device

echo "clean ..."
adb shell rm -rf /mnt/UDISK/inonegui/

echo "push ..."
adb push %~dp0inonegui-inone_100ask-t113 /mnt/UDISK/inonegui
adb push %~dp0inonegui-inone_100ask-t113\etc\device.prop /etc/
adb shell chmod a+x /mnt/UDISK/inonegui/inogui
adb shell sync
adb reboot